<{include file ="header.tpl"}>
<{include file ="navibar.tpl"}>
<{include file ="sidebar.tpl"}>
<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->

<{$osadmin_action_alert}>
<{$osadmin_quick_note}>
    
<div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">请填写订单</a></li>
    </ul>	
	<div id="myTabContent" class="tab-content">
		  <div class="tab-pane active in" id="home">
		   
           <form id="tab" method="post" action="" autocomplete="off" enctype="multipart/form-data">
           		<{foreach name=tb_id_posts from=$tb_id_posts item=tb_info}>	
       			<tr>
				<label>账单编号</label>
				<input type="text" name="tb_id" value="<{$tb_info.max_id + 1}>" readonly="readonly" class="input-xlarge" required="true" >
				<label>账单日期</label>
				<input type="text" name="tb_date" value="<{date('Y-m-d H:i:s')}>" readonly="readonly" class="input-xlarge"  required="true" >
				<label>收入或者支出</label>
				<{html_options name=tb_type id="DropDownTimezone" class="input-xlarge" options=$type_list["bill_type"] selected=0}>
				<label>账单提供人名字</label>
				<input type="text" name="tb_provide_name" value="<{$_POST.tb_provide_name}>" class="input-xlarge" required="true">
				<label>账单提供人编号</label>
				<input type="text" name="tb_provide_id" value="<{$_POST.tb_provide_id}>" class="input-xlarge" required="true">
				<label>收入的订单编号</label>
				<input type="text" name="tb_order_id" value="<{$_POST.tb_order_id}>" class="input-xlarge" required="true">
				<label>支出发票照片</label>
				<input type="file" name="tb_cost_photo" value="<{$_POST.tb_cost_photo}>" class="input-xlarge" required="true">
				<label>账单说明</label>
				<input type="text" name="tb_remark" value="<{$_POST.tb_remark}>" class="input-xlarge" required="true">
				</tr>
				<{/foreach}>
			<div class="btn-toolbar">
				<button type="submit" class="btn btn-primary"><strong>提交</strong></button>
				<div class="btn-group"></div>
			</div>
				
			</form>
	
        </div>
       
    </div>
</div>
<!-- END 以下内容不需更改，请保证该TPL页内的标签匹配即可 -->
<{include file="footer.tpl" }>